package com.macro.mall.dto;

import com.macro.mall.model.cms.CmsPrefrenceAreaProductRelationDO;
import com.macro.mall.model.cms.CmsSubjectProductRelationDO;
import com.macro.mall.model.pms.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 创建和修改商品的请求参数
 * Created by macro on 2018/4/26.
 */
@Data
@EqualsAndHashCode
public class PmsProductParam extends PmsProductDO {
    @ApiModelProperty("商品阶梯价格设置")
    private List<PmsProductLadderDO> productLadderList;
    @ApiModelProperty("商品满减价格设置")
    private List<PmsProductFullReductionDO> productFullReductionList;
    @ApiModelProperty("商品会员价格设置")
    private List<PmsMemberPriceDO> memberPriceList;
    @ApiModelProperty("商品的sku库存信息")
    private List<PmsSkuStockDO> skuStockList;
    @ApiModelProperty("商品参数及自定义规格属性")
    private List<PmsProductAttributeValueDO> productAttributeValueList;
    @ApiModelProperty("专题和商品关系")
    private List<CmsSubjectProductRelationDO> subjectProductRelationList;
    @ApiModelProperty("优选专区和商品的关系")
    private List<CmsPrefrenceAreaProductRelationDO> prefrenceAreaProductRelationList;
}
